package com.hx.repository;

import org.springframework.data.repository.CrudRepository;

import com.hx.entity.Courses;

public interface CourseRep extends CrudRepository<Courses, Integer>{
	
//	@Query("select * from Courses where id in(select course_id from major_courses where major_id=?)")
//	List<Courses> findByMajor(Integer major_id);
	
}
